package com.fs.cv.service;

import com.fs.cv.pojo.pojodao.Absence;
import com.fs.cv.pojo.pojodao.Student;
import com.fs.cv.pojo.pojoview.StudentClassDepartment;
import com.fs.cv.pojo.pojoview.StudentInfo;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface DepartmentService {
    //分页查询
    PageInfo<StudentClassDepartment> getByPage(Integer currentPage, Integer pageSize);
    List<StudentClassDepartment> queryByJava(String str);
    //根据学生的ID来查询学生的信息
    StudentInfo getById(int studentId);
    int  getClassIdByClassName(String ClassName);
    //根绝班级id来修改院系
    int updateByClassId( int classId, int studentId);
    //根据姓名模糊查询
    Set<StudentClassDepartment> getByName(String studentName);


}

